import request from '@/utils/request.js'
// 重置密码
export function resetPassword(userId) {
  return request.get('/data/ed/user/resetPassword/' + userId)
}
// 更改密码
export function changePassword(data) {
  return request.put('/data/ed/user/changePassword', data)
}
// 校验原始密码
export function validateOldPassword(data) {
  return request.post('/data/ed/user/validateOldPassword', data)
}
